package com.woniuxy.config.rabbitmq;

import org.springframework.amqp.core.Exchange;
import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 马宇航
 * @Description: 工作队列配置类
 * @DateTime: 25/10/24/星期五 16:42
 * @Component: 成都蜗牛学苑
 **/
@Configuration
public class WorkQueueCoonfig {
    @Bean
    public Queue workQueue(){
        return new Queue("workQueue");
    }

}
